package com.xframe.xdal.core.serialize;

import com.xframe.xdal.core.model.mapping.ITableInfo;

public interface IJSONSer {

    <T> T toObject(String json, Class<?> dataType);

    <T> T toObject(String json, Class<?> dataType,ITableInfo tableInfo);

    String toJson(Object bean);

    String toJson(Object bean,ITableInfo tableInfo,String language,String queryKey,String ver);

    Object toJsonObj(Object bean,ITableInfo tableInfo,String language,String queryKey,String ver);
}
